DataConnector | ComponentOne
C1.AdoNet.CSV Assembly / C1.DataConnector.AdoNet Namespace / C1CommandBase<TCommandImpl> Class / ExecuteNonQueryAsync Method / ExecuteNonQueryAsync(CancellationToken) Method

In This Topic
    ExecuteNonQueryAsync(CancellationToken) Method
    In This Topic
    An asynchronous version of method C1CommandBase.ExecuteNonQuery that executes a SQL statement against a connection object.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function ExecuteNonQueryAsync( _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of Integer)
    public virtual Task<int> ExecuteNonQueryAsync( 
       CancellationToken cancellationToken
    )

    Parameters

    cancellationToken

    Return Value

    The number of rows affected.
    See Also